from selenium.webdriver.common.by import By
from base.base import Base

class Page(Base):
    def url_loc(self):
        self.url('https://www.baidu.com/')

    dy = (By.ID,'chat-submit-button')
    def dy_loc(self):
        return self.text(self.dy)